<?php
/**
 * Created by PhpStorm.
 * User: long
 * Date: 2017/7/30
 * Time: 下午10:20
 */

namespace App\Markdown;


class Markdown
{
    protected $parse;

    public function __construct(Parser $parse)
    {
        $this->parse = $parse;
    }

    public function makdown($text)
    {
        return $this->parse->makeHtml($text);
    }
}